(function (line, support, document) {
    var event = line.event = line.event || {};

    line.extend(event, {
        isReady:false,
        ready:function () {

        },
        attach:(function () {
            if (support.addEventListener) {
                return function (target, eventName, callback, useCapture) {
                    target.addEventListener(eventName, callback, useCapture || false);
                };
            } else {
                return function (target, eventName, callback) {
                    target.attachEvent('on' + eventName, callback);
                };
            }
        }()),
        detach:(function () {
            if (support.addEventListener) {
                return function (target, eventName, callback, useCapture) {
                    target.removeEventListener(eventName, callback, useCapture || false);
                };
            } else {
                return function (target, eventName, callback) {
                    target.detachEvent('on' + eventName, callback);
                };
            }
        }()),
        once:function () {

        }

    });

})(line, line.support, document);
